import { createApp } from 'vue'
import 'element-plus/dist/index.css'
import './style/element_visiable.scss'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import 'uno.css';
// 引入封装的router
import router from '@/router/index'
// 引入vue-admin前端初始化相关内容
import run from '@/core/vue-admin.js'
import { store } from '@/pinia'
import App from './App.vue'
import directives from '@/utils/directive.js'
// 消除element-plus组件的一些不兼容的问题
import 'default-passive-events' // 去除表单form校验警告信息

/**
 * 无需在这块结束，会在路由中间件中结束此块内容
 * */

const app = createApp(App)
app.config.productionTip = false



app
  .use(run)
  .use(store)
  .use(router)
  .use(directives)
  .use(ElementPlus, { locale: zhCn })
  .mount('#app')

export default app
